package com.yurui.tx;

import com.mysql.cj.jdbc.NonRegisteringDriver;

import java.sql.DriverManager;
import java.sql.SQLException;

public class MyDriver extends NonRegisteringDriver implements java.sql.Driver {
    public MyDriver() throws SQLException {
    }

    static {
        try {
            DriverManager.registerDriver(new MyDriver());
        } catch (SQLException var1) {
            throw new RuntimeException("Can't register driver!");
        }
    }
}